POV-Ray : Newsgroups : povray.newusers : Double like a bridge : Double like a bridge Server Time
30 Jul 2024 06:17:48 EDT (-0400)
  Double like a bridge  
From: Oleguer Vilella
Date: 2 Sep 2004 06:05:49
Message: <4136f07d@news.povray.org>
Hello all,

I'm traying to double this objecte like a bridge, but I only want to double
in the middle of it, the extremes should be straights. I don't know who can
I do it. Can anyone help me?

The code is:
====================================
#include "colors.inc"
#include "textures.inc"

camera { location <0, 0, -23> look_at <0, 0, 0> focal_point <-15, -9, 0> }
light_source { <-5, 2, -15> color rgb <2, 2, 2> }
light_source { <10, 2, 0.> color rgb <1, 1, 1>  }
background { color White }


#macro Cuc (How_many_blobs)
#local HM_Blobs_remanente = How_many_blobs ;

blob {
threshold .6
#while (HM_Blobs_remanente>0)

sphere { <0, HM_Blobs_remanente*1.2 ,0> 1 , 1 }

#local HM_Blobs_remanente = HM_Blobs_remanente-1 ;

#end
scale 0.5
pigment { Gray*0.75 }
finish { phong .4 }
}
#end

object { Cuc (8) rotate z*105 translate <-8, -5, 0>  }
=================================

Thanks in advance,
Oleguer


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.